The session unveils the following
- Fundamentals of DevOps
- DevOps principles, practices & Tools
- How AWS Native Tools can be used to effectively handle devops pipeline
- Sample Pipeline walkthrough
2. (3)
About me
Bhuvaneswari Subramani (Bhuvana)
Director, Engineering Operations, Infor
AWS Community Hero
Organizer AWS User Group Bengaluru
Currently working on Cloud Computing, DevOps &, Performance QA
https://installjournal.blogspot.com
5. (6)
D e v O p s O v e r v i e w
Evolution of DevOps
Waterfall
6. (7)
D e v O p s O v e r v i e w
Evolution of DevOps
AgileWaterfall
7. (8)
D e v O p s O v e r v i e w
Beginning of DevOps
Dev
Ops
8. (9)
D e v O p s O v e r v i e w
Beginning of DevOps
Dev
Ops
• Idea began in 2008
• Started to spread in 2009
after DevOpsDays event
held in Belgium.
• Dev & Ops teams are no
longer work in “Silo”.
9. (10)
D e v O p s O v e r v i e w
What is DevOps ?
“DevOps is a philosophy and practice focused
on agility, collaboration, and automation within
IT and development team processes”
The ultimate goal is to shorten the Software
Development Lifecyle
10. (11)
D e v O p s O v e r v i e w
DevOps LifeCycle
CODE PLAN
BUILD
RELEASE
DEPLOY
OPERATE
Dev
Ops
TEST
M
O
N
ITO
R
12. (13)
D e v O p s o n AW S
How to Implement DevOps ?
• Enable your cross-functional teams to embrace the
cultural change
• Implement DevOps practices in Software
Development
13. (14)
D e v O p s o n AW S
Benefits of DevOps
Speed
Rapid Delivery
Reliability
Scale
Improved Collaboration
Security
15. (16)
D e v O p s o n AW S
DevOps Practices
Continuous Integration
Continuous Delivery
Microservices
Infrastructure as Code
Monitoring and Logging
Communication and
Collaboration
16. (17)
D e v O p s o n AW S
AWS Services in DevOps LifeCycle
AW
S
CodeDeploy
AW
S
C
odeBuild
AW
S
CodeCom
m
it
Cloud9
Amazon
CloudWatchThird PartyTooling
AWSElastic
Beanstalk
AWS
CodePipeline
AWS
CloudFormation
17. (18)
D e v O p s o n AW S
AWS in Transformational DevOps
• In a constant pursuit to bridge the gap between Dev &
Ops, with AWS Services, you could
• Offload the undifferentiated heavy lifting
• Forster innovation
• Automation and Infrastructure as code
• Increase Security Posture
18. (19)
D e v O p s o n AW S
DevOps Tools available in AWS Market Place
Moogsoft AIOps
Harness Pro
20. (21)
S a m p l e P i p e l i n e
Software Release
Source Build
Deploy to
Staging &Test
Deploy to
Prod
Testing
• Integration Test
• UI Test
• Load Test
• Penetration Tests
Deployment
Deployment to Prod
Environments
Code Management
• Check-in source code
• Peer review new code
• Version Control
• Multi-enterprise
Package Creation
• Compile Code
• Run Unit Tests
• Create Container
Images
Continuous Integration
Continuous Delivery
21. (22)
S a m p l e P i p e l i n e
Software Release
Source Build
Deploy to
Staging &Test
Deploy to
Prod
Continuous Integration
Continuous Delivery
AWS
CodeDeploy
AWS
CodeBuild
AWS
CodeCommit
Third Party
Tooling
AWS
CodePipeline
AWS
CodeDeploy
22. (23)
S a m p l e P i p e l i n e
Usecase – Web Application Deployment
• Get the Java Application code from AWS CodeCommit
• Compile the code using AWS CodeBuild and store artifact in Amazon S3
• Ensure CodeDeploy agent is installed in EC2 for deploying through AWS
CodeDeploy
• In-place deployment to EC2 Instance
• Stop the Tomcat Service / Install if it is not
• Deploy WebApp through instructions from appspec.yml
• Start the Tomcat Service
23. (24)
S a m p l e P i p e l i n e
Web Application Deployment
24. (25)
S a m p l e P i p e l i n e
Web Application Deployment
Source Build Deploy
25. (26)
S a m p l e P i p e l i n e
Web Application Deployment - Pipeline
AWS
CodePipeline
26. (27)
S a m p l e P i p e l i n e
Manual Approvals & Prod Deploy
AWS
CodePipeline
27. (28)
Va l u e A d d i t i o n
Quick look @ pricing
• AWS CodeCommit: Anyone with an AWS account can get started with
AWS CodeCommit for free. Your account gets 5 active users per month
for free (within limits), after which you pay $1 per additional active user
per month.
• AWS CodeBuild: Only pay by minute for the compute resources you
use.
• AWS CodeDeploy: There is no additional charge for code deployments
to Amazon EC2 instances through AWS CodeDeploy. You pay $0.02 per
on-premises instance update using AWS CodeDeploy.
• AWS CodePipeline: You pay only for what you use. AWS CodePipeline
costs $1 per active pipeline* per month. To encourage experimentation,
pipelines are free for the first 30 days after creation.
29. (30)
Va l u e A d d i t i o n
Value add that DevOps bring in
• Shorter Development Cycles
• Reduced Deployment Failures, Rollbacks, and Time to Recover
• Improved Communication and Collaboration across cross-functional
teams
• Automation wherever possible speed the development process
30. (31)
Va l u e A d d i t i o n
Metrics to Gauge DevOps
• Rapid Delivery with Increased Efficiency
• Increased Feature releases with reduced TTM
• Quicker feedback (system/user) to teams & stake holders
• Greater % of defects detected in testing (Unit & SIT Cycles)
• Ticket / Incidents volume reduction in PreProd & Prod
• High Availability
• Elastic & Scalable Infrastructure